package com.xh.one2one.lesson.service;



import com.xh.bussiness.tiku.bean.dto.QuestionDto;
import com.xh.one2one.lesson.bean.dto.LessonTimesAuditDto;
import com.xh.one2one.lesson.bean.dto.LessonTimesDto;
import com.xh.one2one.lesson.bean.request.LessonTimesRequest;
import com.xh.one2one.lesson.model.LessonTimes;
import com.xh.core.service.IBaseService;
import com.xh.core.bean.XhPage;
import com.xh.one2one.teachHandout.model.TeachTimesHandoutRelation;

import java.util.List;

/**
 * <p>
 * 备课第一步课次 服务类
 * </p>
 *
 * @author TW
 * @since 2021-04-09
 */
public interface ILessonTimesService extends IBaseService<LessonTimes> {

    /**
     * 分页查询方法
     * @param page
     * @param bean
     * @return
     */
    public XhPage queryLessonTimesPage(XhPage page, LessonTimesRequest bean);

    /**
     * 查询方法
     * @param bean
     * @return
     */
    public List queryLessonTimes(LessonTimesRequest bean);
    /**
     * 查询备课内容
     * @param bean
     * @return
     */
    List queryAllLessonTimes(LessonTimesRequest bean);

    void save(List<LessonTimesRequest> request);

    LessonTimesAuditDto queryLessonAuditCalcu(LessonTimesRequest request);

    void batchSaveForStudent(List<LessonTimesRequest> request);

    LessonTimesDto queryLessonInfoForStudent(LessonTimesRequest bean);

    List<TeachTimesHandoutRelation> getTimesHandoutRelations(LessonTimesDto dto,String infoId, String thirdId, String lessonId);

    /**
     * 查询课程信息
     * @author 赵文博
     * @date 2021/6/21 13:49
     * @param bean
     * @return com.xh.one2one.lesson.bean.dto.LessonTimesDto
     **/
    LessonTimesDto queryLessonInfoContent(LessonTimesRequest bean);

    List<QuestionDto> getPracticeQuestion(LessonTimesRequest bean);

    void reLesson(LessonTimesRequest request);
}
